#include "CVector4dh.h"




CVector4dh::CVector4dh( fixed ijDegrees, fixed ikDegrees, boolean wIsClear )
{ 
	ASSERT( FALSE ); // Not yet implemented
}

 
CVector4dh::CVector4dh( const fixed* ijk, boolean wIsClear )
{ 
	ASSERT( ijk );

	m_i = *ijk;
	m_j = *( ijk + 1 );
	m_k = *( ijk + 2 );
	m_w = ( wIsClear )? 0 : CMathFixed::One;
}

 
CVector4dh::CVector4dh( fixed i, fixed j, fixed k, boolean wIsClear )
{ 
	m_i = i; 
	m_j = j; 
	m_k = k;
	m_w = ( wIsClear )? 0 : CMathFixed::One;
}

 
CVector4dh::CVector4dh( const CVector3d& v, boolean wIsClear )
{
	m_i = v.m_i; 
	m_j = v.m_j; 
	m_k = v.m_k; 
	m_w = ( wIsClear )? 0 : CMathFixed::One;
}


CVector4dh& CVector4dh::operator=( const CVector3d& v )
{
	m_i = v.m_i;
	m_j = v.m_j;
	m_k = v.m_k;

	return *this;
}

